package cn.itcast.service;

import cn.itcast.entity.PageResult;
import cn.itcast.entity.QueryPageBean;
import cn.itcast.pojo.Member;
import cn.itcast.pojo.User;

import java.util.List;
import java.util.Map;


public interface MemberService {


    Member findByTelephone(String telephone);


    void add(Map map);


    List<Integer> findMemberCountByMonths(List<String> months);


    PageResult queryPage(QueryPageBean queryPageBean);

    void deleteById(int id);

    Member findById(int id);

    void edit(Member member);

    List<Member> findAll();

    List<User> getAddress();

    List<Map<String, Object>> findEvery();
}
